package cn.wolfcode.mapper;

import cn.wolfcode.domain.Department;
import cn.wolfcode.qo.QueryObject;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface DepartmentMapper {
    int delete(Long id);

    int insert(Department record);

    Department selectForId(Long id);

    List<Department> selectList();

    int update(Department record);

    List<Department> selectForList(QueryObject qo);
}